package com.itheima.work1127;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Demo01 {
    public static void main(String[] args) throws IOException {
        Properties pro = new Properties();
        pro.setProperty("brand", "Iphone11Pro Max");
        pro.setProperty("capacity", "256G");
        pro.setProperty("price", "10899");
        pro.store(new FileWriter("iphone.properties"),"xixi");
    }
}
